package org.jeecg.modules.demo.com.kunpeng.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.com.kunpeng.entity.OaApprove;
import org.jeecg.modules.demo.com.kunpeng.mapper.OaApproveMapper;
import org.jeecg.modules.demo.com.kunpeng.service.IOaApproveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OaApproveServiceImpl extends ServiceImpl<OaApproveMapper, OaApprove> implements IOaApproveService {

    @Autowired
    private OaApproveMapper oaApproveMapper;

    /**
     * 查询数据库数据数量
     * @return
     */
    @Override
    public int selectDateCount() {
        int num = oaApproveMapper.selectDateCount();
        return num;
    }

}
